package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.DTO.SetmealDto;
import com.itheima.pojo.Setmeal;
import com.itheima.pojo.SetmealDish;
import org.springframework.transaction.annotation.Transactional;

public interface ISetmealService extends IService<Setmeal> {

    void saveSetmealWithDish(SetmealDto setmealDto);

    @Transactional
    void deleteSetmealWithDish(Long[] ids);

    SetmealDto selectDishWithSetmeal(Long id);
    @Transactional
    void updateSetmealWithDish(SetmealDto setmealDto);
}
